<?
	$nav = array("Home" => "", "Promotion" => "promotion/", "add" => "#");

	$tpl->assign("dsfm_nav", $nav);

    $form = new Form( array(
		"promotion" => array(
			"type" => "text",
			"width" => 200,
			"lang" => "th/en"
		),

		"image" => array(
			"type" => "upload",
			"desc" => "950px * 330px (JPG only)"
		),

		"detail" => array(
			"type" => "textarea",
			"RTE" => true,
			"lang" => "th/en"
		)
	));

	$form->add_action("add.php");

    $form->rain_display($tpl, "form");
?>